home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util4 / clssactn.lha / ClassAction / Install-English < prev    next >
Text File  |  1995-08-27  |  4KB  |  135 lines

  1. ; $VER: ClassAction V2.6 Installer
  2. ; Script to install Release 2.6 ClassAction
  3. (complete 0)
  4.  
  5. (set #Abort
  6. (cat "NO"
  7. ))
  8.  
  9. (set #Overwrite
  10. (cat "YES"
  11. ))
  12.  
  13. (set #conf
  14. (cat "\n\nDo you want to install standard config files\n"
  15.      "on your system , if this is your first installation\n"
  16.      "I recommand you to install them."
  17. ))
  18.  
  19. (set #conf-help
  20. (cat "\n\nThe installer wants to know if it is needed to\n"
  21.      "install standard config files.\n\n"
  22.      "If you have a config file already installed\n"
  23.      "just select the NO button\n"
  24.      "to keep your own config."
  25. ))
  26.  
  27.  
  28. ;********************************************************************
  29.  
  30. (set #warn-kickstart-text
  31. (cat    "\n   Bad KickStart Version\n\n"
  32.         "ClassAction has been written for KickStart 3.0 (V39) or higher."
  33.         "\n\nIt will NOT work on earlier versions\n"
  34.         "\n\nYou currently are running KickStart V%ld.\n\n"
  35.         "Continue Install ?"
  36. ))
  37.  
  38. ;*********************************************************************
  39.  
  40. (set #DOC-query-text
  41. (cat "Where do you which\nto install documentation"
  42. ))
  43.  
  44. (set #DOC-query-help
  45. (cat "\n\nYou have now to choose a directory where\n"
  46.         "you want to install the guide file\n\n"
  47.         "Just click on it with your mouse and"
  48.         " select proceed"
  49. ))
  50.  
  51. ;****************************************
  52.  
  53. (set #CA-query-text
  54. (cat "Where do you which\nto install ClassAction\nmain program"
  55. ))
  56.  
  57. (set #CA-query-help
  58. (cat "\n\nYou have now to choose a directory where\n"
  59.         "you want to install the main program file\n\n"
  60.         "Just click on it with your mouse and"
  61.         " select proceed"
  62. ))
  63.  
  64. ;****************************************
  65.  
  66. (set #CAP-query-text
  67. (cat "Where do you which\nto install ClassActionPrefs"
  68. ))
  69.  
  70. (set #CAP-query-help
  71. (cat "\n\nYou have now to choose a directory where\n"
  72.         "you want to install the Prefs program file\n\n"
  73.         "Just click on it with your mouse and"
  74.         " select proceed\n"
  75.         "you can select SYS:Prefs if you don't know where to\n"
  76.         " install it..."
  77. ))
  78.  
  79.  
  80. (set #ver-help
  81. (cat "\n\nIf you Update an older version\n"
  82.         "the icon file of ClassAction\n\n"
  83.         "will not be copied, to avoid erasing\n"
  84.         "your tooltypes setup\n"
  85. ))
  86.  
  87. ;********************************************************************
  88.  
  89. (set #goodbye
  90. (cat "\nClassAction is now installed."
  91. ))
  92.  
  93. ;********************************************************************
  94.  
  95. (set ver (/ (getversion) 65536) )
  96. (if (< ver 39) (
  97.         (set warning (#warn-kickstart-text ver) ) (message warning)
  98. ))
  99.  
  100.  
  101.                 (set thedir (askdir (prompt #CA-query-text) (help #CA-query-help) (default "SYS:WbStartup")))
  102.                 (makeassign "CAHOME" thedir)
  103.  
  104.  
  105. (if(exists("CAHOME:ClassAction"))
  106.                 (
  107.                 (message "\nYou are updating an old version of ClassAction\n\nDon't forget to read the guide\nabout the new tooltypes defined\nAnd REQV[] REQT[] Commands.")
  108.                 (copyfiles (source "ClassAction") (dest thedir))
  109.                 (run "utt CAHOME:ClassAction ClassAction CAHOME:ClassAction")
  110.                 )
  111.                 (copyfiles (source "ClassAction") (dest thedir) (infos))
  112.                 )
  113.  
  114. (complete 25)
  115.  
  116.  
  117.                 (set thedir (askdir (prompt #CAP-query-text) (help #CAP-query-help) (default "SYS:Prefs")))
  118.                 (copyfiles (source "ClassActionPrefs") (dest thedir) (infos) )
  119. (complete 50)
  120.  
  121.                 (set thedir (askdir (prompt #DOC-query-text) (help #DOC-query-help) (default "HELP:")))
  122.                 (copyfiles (source "English/ClassAction.guide") (dest thedir) (infos) )
  123. (complete 75)
  124.  
  125. (if(askbool (prompt #conf) (help #conf-help) ) (
  126.                 (copyfiles (source "English/ClassAction.prefs") (dest "ENVARC:"))
  127.                 (copyfiles (source "English/ClassAction_Gen.prefs") (dest "ENVARC:"))
  128.                 ))
  129.  
  130. (complete 100)
  131.  
  132. (message #goodbye)
  133. (exit (quiet))
  134.  
  135.